import request from '@/utils/system/request'

export function getData(data: any) {
	return request({
		url: '/article/software/list',
		method: 'post',
		data
	})
}

export function add(data: any) {
	return request({
		url: '/article/software/save',
		method: 'post',
		data
	})
}

export function update(data: any) {
	return request({
		url: '/article/software/update',
		method: 'put',
		data
	})
}

export function del(id: any) {
	return request({
		url: '/article/software/' + id,
		method: 'delete',
	})
}